home *** CD-ROM | disk | FTP | other *** search
/ TeleMagic 4 / TeleMagic v4.0.iso / tm / data1.cab / Program_Files / OEMSETUP.INF < prev    next >
Encoding:
Windows Setup INFormation  |  1999-05-28  |  4.6 KB  |  196 lines

  1. ;
  2. ; Sample combination printer INF for NT 4.0 and Win95.
  3. ; (This inf should work for both OS's, but not all sections apply to both.)
  4. ;
  5. ;
  6.  
  7. [Version]
  8. Signature="$Windows NT$"
  9. Provider=%MC%
  10. LayoutFile=layout.inf
  11. ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
  12. Class=Printer
  13.  
  14. [ClassInstall]
  15. AddReg=ClassAddReg
  16. DelReg=ClassDelReg
  17.  
  18. [ClassDelReg]
  19. HKLM,"System\CurrentControlSet\Services\Class\Printer","NoUseClass"
  20.  
  21. [ClassAddReg]
  22. HKR,,,,%CLASSNAME%
  23. HKR,,Installer,,MSPRINT.DLL
  24. HKR,,Icon,,-4
  25. HKR,,NoDisplayClass,,1
  26.  
  27. [Environment]
  28. UpdateInis=Environment_Ini
  29. AddReg=Environment_Reg
  30.  
  31. [Environment_Ini]
  32. win.ini,Ports,"LPT1.DOS=",
  33. win.ini,Ports,"LPT2.DOS=",
  34. win.ini,Ports,"LPT3.DOS=",
  35. win.ini,Ports,"LPT1.OS2=",
  36. win.ini,Ports,"LPT2.OS2=",
  37. win.ini,Ports,"LPT3.OS2=",
  38. win.ini,windows,"Spooler=",
  39. win.ini,windows,"DosPrint=",
  40. win.ini,windows,"DeviceNotSelectedTimeout=",
  41. win.ini,windows,"TransmissionRetryTimeout=",
  42.  
  43. [Environment_Reg]
  44. HKLM,"System\CurrentControlSet\Control\Print\Environments\Windows 4.0","Directory",,"CHICAGO"
  45. HKLM,"System\CurrentControlSet\Control\Print\Environments\Windows 4.0\Drivers",,,
  46. HKLM,"System\CurrentControlSet\Control\Print\Environments\Windows 4.0\Print Processors",,,
  47. HKLM,"System\CurrentControlSet\Control\Print\Monitors",,,
  48. HKLM,"System\CurrentControlSet\Control\Print\Printers",,,
  49. HKLM,"System\CurrentControlSet\Control\Print\Printers","StartOnBoot",1,01,00,00,00
  50. HKLM,"System\CurrentControlSet\Control\Print\Providers",,,
  51.  
  52. ;
  53. ; Manufacturer Sections
  54. ;
  55. ; This section lists all of the manufacturers that we will
  56. ; display in the Dialog box.
  57. ;
  58. [Manufacturer]
  59. ;"!OEM"
  60. "MicroCrafts Development"
  61.  
  62. ;
  63. ; Model Sections 
  64. ;
  65. ; These sections correspond with an entry listed in the
  66. ; [Manufacturer] section above. The models will be displayed in the order
  67. ; that they appear here.
  68. ;
  69. ;[!OEM]
  70. ;"Some OEM Printer"              = Cool__PS.PPD
  71. [MicroCrafts Development]
  72. "Test Fax Driver"                    = FaxDrv.dll
  73.  
  74. ;
  75. ; Installer Sections
  76. ;
  77. ; These sections control file installation, and reference all files that
  78. ; need to be copied. The section name will be assumed to be the driver data
  79. ; file, unless there is an explicit DataFile section listed.
  80. ;
  81. ; Also note the ".NT" or ".WIN" notation. This is done to allow for a single INF to 
  82. ; work on Win9x and WinNT. When this format is used, the DataFile must be declared explicitly. 
  83. ; Win95 does not support this notation, so the old format is used.
  84. ; See the latest WinNT DDK for more info.   
  85. ;
  86.  
  87. [Cool__PS.PPD.NT]
  88. CopyFiles=@Cool__PS.PPD,PSCRIPT_NT
  89. DataFile=Cool__PS.PPD
  90. DataSection=PSCRIPT_DATA_NT
  91.  
  92. [FaxDrv.dll.nt]
  93. CopyFiles=@FaxDrv.dll,@im31xfax.del,RASDD_NT
  94. DataFile=FaxDrv.dll
  95. DataSection=RASDD_DATA_NT
  96.  
  97. [Cool__PS.PPD]
  98. CopyFiles=@Cool__PS.PPD,PSCRIPT_Win
  99. DataSection=PSCRIPT_DATA_Win
  100.  
  101.  
  102. ; Copy Sections
  103. ;
  104. ; Lists of files that are actually copied. These sections are referenced
  105. ; from the installer sections above. Only create a section if it contains
  106. ; two or more files (if we only copy a single file, identify it in the
  107. ; installer section, using the @filename notation) or if it's a color
  108. ; profile (since the DestinationDirs can only handle sections, and not
  109. ; individual files).
  110. ;
  111.  
  112. [PSCRIPT_NT]
  113. PSCRIPT.DLL
  114. PSCRPTUI.DLL
  115. PSCRIPT.HLP
  116.  
  117. [PSCRIPT_Win]
  118. PSCRIPT.DRV
  119. PSCRIPT.HLP
  120. PSCRIPT.INI
  121. TESTPS.TXT
  122. APPLE380.SPD
  123. FONTS.MFM
  124. ICONLIB.DLL
  125. PSMON.DLL
  126.  
  127. [RASDD_NT]
  128. RASDD.DLL
  129. RASDDUI.DLL
  130. RASDDUI.HLP
  131.  
  132. [PLOTTER_NT]
  133. PLOTTER.DLL
  134. PLOTUI.DLL
  135. PLOTUI.HLP
  136.  
  137. ;
  138. ; Data Sections
  139. ;
  140. ; These sections contain data that is shared between devices.
  141. ;
  142.  
  143. [PSCRIPT_DATA_NT]
  144. DriverFile=PSCRIPT.DLL
  145. ConfigFile=PSCRPTUI.DLL
  146. HelpFile=PSCRIPT.HLP
  147.  
  148. [PSCRIPT_DATA_Win]
  149. DriverFile=PSCRIPT.DRV
  150. HelpFile=PSCRIPT.HLP
  151. LanguageMonitor=%PS_MONITOR%
  152.  
  153. [RASDD_DATA_NT]
  154. DriverFile=RASDD.DLL
  155. ConfigFile=RASDDUI.DLL
  156. HelpFile=RASDDUI.HLP
  157.  
  158. [PLOTTER_DATA_NT]
  159. DriverFile=PLOTTER.DLL
  160. ConfigFile=PLOTUI.DLL
  161. HelpFile=PLOTUI.HLP
  162.  
  163. ;
  164. ; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
  165. ; (depending on which environment drivers are getting installed)
  166. ;
  167.  
  168. [DestinationDirs]
  169. DefaultDestDir=66000
  170.  
  171. ;
  172. ; diskid = description,tagfile,unused,subdir
  173. ;
  174. [SourceDisksNames]
  175. ;4 = %Floppy%,,,""
  176. 4 = MC,MONDISK1,,""
  177.  
  178. ;
  179. ; filename_on_source = diskid,subdir,size,checksum,spare,spare
  180. ; extra fields are nt-specific
  181. ;   bootmediaord,targetdirectory,upgradedisposition,textmodedisposition,targetname
  182. ;
  183. [SourceDisksFiles]
  184. Cool__PS.PPD = 4,,,,,,,11,3
  185.  
  186. ;
  187. ; Localizable Strings
  188. ;
  189. [Strings]
  190. MC="MicoCrafts Inc."
  191. Floppy="OEM Printer Disk"
  192. CLASSNAME="Printer"
  193. PJL_MONITOR="PJL Language Monitor,PJLMON.DLL"
  194. PS_MONITOR="PostScript Language Monitor,PSMON.DLL"
  195.